package com.nercel.dsj.gksales.dao.mapper;

import com.nercel.dsj.gksales.model.QueryParams;
import com.nercel.dsj.gksales.model.dto.PaymentResultDTO;
import com.nercel.dsj.gksales.model.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PaymentMapper extends BaseMapper<Payment> {

	PaymentResultDTO selectByPrimaryKey(Integer id);

	List<PaymentResultDTO> query(QueryParams queryParams);

	Payment findByOrderNumber(String orderNumber);

}